From: OpenJDK Team Date: Thu, 22 Jan 2026 22:15:51 +0000 (+0100) Subject: mips X-Git-Tag: archive/raspbian/17.0.18+8-1_deb12u1+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7bc401064d2c36c208981c47fa29b7d589fa74dc;p=openjdk-17.git mips # DP: Untested patch suggested to fix #983878 # DP: Untested patch suggested to fix #983878 Gbp-Pq: Name mips.diff --- diff --git a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c index 7bc14a0da..1570d9ce5 100644 --- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c +++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c @@ -268,7 +268,7 @@ static statx_func* my_statx_func = NULL; /** * fstatat missing from glibc on Linux. */ -#if defined(__linux__) && (defined(__i386) || defined(__arm__)) +#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64))) #define FSTATAT64_SYSCALL_AVAILABLE static int fstatat64_wrapper(int dfd, const char *path, struct stat64 *statbuf, int flag)